package servlet.listener.session;
import javax.servlet.http.HttpSessionEvent;
import javax.servlet.http.HttpSessionListener;
public class HttpSessionListenerDemo  implements HttpSessionListener {

	public void sessionCreated(HttpSessionEvent se) {
		System.out.println("session 创建" + se.getSession().getId());
	}

	public void sessionDestroyed(HttpSessionEvent se) {
		System.out.println("session 销会" + se.getSession().getId());
	}

}
